/**
 * 
 */

/**
 * @author Karthik
 * Error codes for strings are ERROR_CALL if there was an successful attempt at performing an operation.
 * If an exception is caught and hence the operation was unsuccessful, ERROR_EXCEP is returned. This is 
 * a commong error return format for strings. Will be updated with more codes for integers as well.
 */
public abstract class CloudController { 
	/*Common categorization of instance types for multiple cloud service providers/distributions. 
	 */
	protected String microInstance;
	protected String smallInstance;
	protected String largeInstance;
	/*Abstract methods to be implemented with cloud specific implementations 
	 * in eucalyptus, amazon, rackspace and opennebula controller classes. 
	 */
	abstract String getRunningInstances();
	abstract String getInstanceInfo(String InstanceId);
	abstract boolean deleteInstance(String InstanceId);
	abstract boolean shutdownInstance(String InstanceId);
	abstract String launchInstance(String Instance, String InstanceType);

}
